﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("***************************");
            Console.WriteLine("*********猜拳，开始********");
            Console.WriteLine("***************************");

            //Console.WriteLine("请选择对方角色 <1:刘备  2:孙权  3:曹操>");
            //int a = int.Parse(Console.ReadLine());

            Console.WriteLine("请输入您的姓名：");
            string name = Console.ReadLine();

            Player p1 = new Player() { Name = name };
            Npc c1 = new Npc();
            Refer j1 = new Refer();


            while (true)
            {
                int res1 = p1.SF();
                int res2 = c1.SF();
                j1.Determine(res1, res2);
                Console.ReadKey();
            }
        }
    }
}
